{* Smarty *}
{extends file="include/base_with_menu.tpl"}

{block name="external_javascript"}
<script type="text/javascript" src="/scripts/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script type="text/javascript" src="/scripts/oa_calendar.js"></script>
{/block}

{block name="javascript"}
<script type="text/javascript">
(function($) {
    $(function() {
        $('#begin_date, #end_date').datepicker();
    });
})(jQuery);
</script>
{/block}

{block name="content"}
<h3 class="blockTitle">添加工作计划</h3>
<div class="layout">
    <form method="post" action="/market/pr/plan/add">
    <table width="100%" class="tbLayout01" cellspacing="0" cellpadding="0">
        <tr>
            <td width="100" class="textRight">计划日期:</td>
            <td class="textLeft">
                <input type="text" class="txt01" id="begin_date" name="begin_date" />
                &nbsp;--&nbsp;
                <input type="text" class="txt01" id="end_date" name="end_date" />
            </td>
        </tr>
        <tr>
            <td width="100" class="textRight">新建联系:</td>
            <td class="textLeft">
                <textarea class="txt01" rows="5" cols="80" name="contact"></textarea>
                <br />
                <span class="cGreen">(不超过300个字符)</span>
            </td>
        </tr>
        <tr>
            <td width="100" class="textRight">跟进老师:</td>
            <td class="textLeft">
                <textarea class="txt01" rows="5" cols="80" name="teacher"></textarea>
                <br />
                <span class="cGreen">(不超过300个字符)</span>
            </td>
        </tr>
        <tr>
            <td width="100" class="textRight">收集名单:</td>
            <td class="textLeft">
                <textarea class="txt01" rows="5" cols="80" name="name_list"></textarea>
                <br />
                <span class="cGreen">(不超过300个字符)</span>
            </td>
        </tr>
        <tr>
            <td width="100" class="textRight">其它:</td>
            <td class="textLeft">
                <textarea class="txt01" rows="5" cols="80" name="other"></textarea>
                <br />
                <span class="cGreen">(不超过300个字符)</span>
            </td>
        </tr>
        <tr>
            <td class="textRight">&nbsp;</td>
            <td class="textLeft">
                <input type="submit" value="提 交" />&nbsp;&nbsp;
                <input type="button" value="取 消" onclick="javascript:window.history.back();" />
            </td>
        </tr>
    </table>
    <input type="hidden" name="{$token_name|escape}" value="{$token_hash}" />
    <input type="hidden" name="return_url" value="{$return_url|default:''}" />
    </form>

    <p>&nbsp;</p>
    <p class="cGreen">提示：</p>
    <ul class="textLeft tip">
        <li>点击取消返回计划列表页面，不会新增计划</li>
    </ul>
</div>
{/block}
